package com.java.service;

import java.math.BigDecimal;

import com.java.domain.ActivityRecord;
import com.java.domain.event.ActivityRecordEvent;
import com.java.util.resp.BaseRespone;
import com.java.util.resp.TableRespone;

public interface RecordService {

	TableRespone getList(String userId, int page, int size);

	ActivityRecordEvent getOne(String recordId);
	
	BaseRespone updateRecord(ActivityRecord record);
	
	BaseRespone delRecord(String recordId);

	BaseRespone createOrder(String sportId, String slotId, String userId, String date);
	
	BaseRespone payRecord(String recordId, int payStatus);
	
	BaseRespone confirmRecord(String recordId, int confirmStatus);
	
	BigDecimal getAmountOfDay(String dateStr);

}
